Groupby two columns and find max count of categorical values in another column (Python)

welcome to shbcf.ru